package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.TGoods;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface TGoodsMapper {
    int deleteByPrimaryKey(Integer goodId);

    int insert(TGoods record);

    int insertSelective(TGoods record);

    TGoods selectByPrimaryKey(Integer goodId);

    int updateByPrimaryKeySelective(TGoods record);

    int updateByPrimaryKey(TGoods record);
    
    public List<TGoods> listGoods(Map<String, Object> searchParams);
    
    public List<Map<String, Object>> searchByPage(Map<String,Object> searchParams);
}